package com.itheima.po;
import java.util.Date;

public class Comment {
	private int commentid;
	private String userid;
	private int bookid;
	private String time;
	private String state;
	private String content;
	private int star;
	public int getCommentid() {
		return commentid;
	}
	public void setCommentid(int commentid) {
		this.commentid = commentid;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public int getBookid() {
		return bookid;
	}
	public void setBookid(int bookid) {
		this.bookid = bookid;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public int getStar() {
		return star;
	}
	public void setStar(int star) {
		this.star = star;
	}
	@Override
	public String toString() {
		return "Comment [commentid=" + commentid + ", userid=" + userid + ", bookid=" + bookid + ", time=" + time
				+ ", state=" + state + ", content=" + content + ", star=" + star + "]";
	}
	
}